* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #242424;
    /* background: url(../img/bg.jpg); */
    /* background-position: center center; */
}

.layout {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    border-radius: 8px;
    text-align: center;
    background-color: #333333;
    color: rgba(255, 255, 255, 0.85);
}

.layout .tabs {
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #4a4a4a;
    ;
}

.layout .tab_item {
    width: 50%;
    height: 60px;
    line-height: 60px;
    position: relative;
    cursor: pointer;
}

.layout .tab_item:first-child::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 1px;
    height: 20px;
    background: #4a4a4a;
}

.layout .tabs .active {
    color: #3499e5;
}

.layout .tabs .active::before {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    display: block;
    width: 35px;
    height: 1px;
    background: #3499e5;
}

.layout .tit {
    margin-bottom: 0;
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: bold;
    font-size: 20px;
}

.g_w {
    width: 400px;
    margin: 0 auto;
}
.layout .inp_item{
    margin-bottom: 24px;
}
.layout .inp_box {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 4px 8px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}
.layout .rule_box{
    display: none;
    position: absolute;
    bottom: 55px;
    right: 0;
    border-radius: 8px;
    text-align: center;
    background-color: #414141;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    font-size: 14px;
    padding: 16px;
    transition: all 0.5s;
}
.layout .rule_box::after{
    content: "";
    position: absolute;
    right: 16px;
    bottom: -6px;
    width: 16px;
    height: 16px;
    background-color: #414141;
    transform: rotate(45deg);
}
.layout .rule_box p{
    height: 16px;
    padding: 8px 0;
    text-decoration: none;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.layout .inp_box:hover {
    border: 1px solid #5eb7f2;
    transition: all 0.5s;
}

.layout .inp_box:focus-within {
    border-color: #5eb7f2;
}

.layout .inp_box img {
    margin-right: 8px;
}

.layout input {
    background: #333333;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.85);
}

.layout .inp {
    width: 368px;
    height: 30px;
    font-size: 14px;
    line-height: 1.5715;
}

.layout input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.layout input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.layout input:-ms-input-placeholder {
    color: #fff;
}

.layout .check_box {
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.layout .check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* .layout .check:hover {
    transition: all 0.5s;
    color: #5eb7f2;
} */
.layout .check:hover input[type="checkbox"]{
    transition: all 0.5s;
    border-color: #5eb7f2;
}

/* 隐藏默认样式 */
.layout input[type="checkbox"] {
    margin-right: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    outline: none;
    background-color: #333333;
}

/* 选中状态 */
.layout input[type="checkbox"]:checked {
    /* background-color: #5eb7f2; */
    border-color: #5eb7f2;
    transition: all 0.5s;
}

/* 选中状态显示对勾 */
.layout input[type="checkbox"]:checked::after {
    content: '✔';
    color: #5eb7f2;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    left: 3px;
    top: -2px;
}

.layout .reset_pwd {
    cursor: pointer;
}

.layout .reset_pwd:hover {
    transition: all 0.5s;
    color: #5eb7f2;
}

.layout .btn {
    width: 100%;
    height: 40px;
    margin: 48px 0;
    font-weight: 600;
    background-color: #3499e5;
    color: #ffffff;
    border-radius: 4px;
    border: none;
    outline: none;
    cursor: pointer;
}

.layout .btn:hover {
    background-color: #5eb7f2;
    transition: all 0.5s;
}

.layout .register_box .inp_item {
    margin-bottom: 16px;
}
.layout .tip{
    width: 100%;
    padding: 4px 0 0;
    color: #FF483E;
    text-align: left;
    font-size: 12px;
    display: none;
}